import 'package:xanno/src/anno/utils/base.dart';

class GAssets extends GBase {
  ///资源路径，相对路径
  ///默认适配多尺寸图
  final String path;

  final bool enable;

  ///.ttf、.zip
  final List<String> ignoresSuffix;

  ///lib/common/assets_constant.assets.dart
  final String dir;
  final String name;

  const GAssets(
      {required this.path,
      this.enable = true,
      this.ignoresSuffix = const ['.zip'],
      this.dir = 'lib/common',
      this.name = 'assets_constant'})
      : super(dir: dir, name: name, suffix: '.assets.dart');
}
